<aside class="lg-side">
  <div class="panel-heading tab-bg-dark-navy-blue okr-tab-head tab-right "></div>
  <div class="inbox-body mi-h8">
    <section class="panel">
      <div class="panel-heading">
        资产信息
      </div>
      <div class="panel-body">
        <div id="assetspContainer1" class="dlshouwen-grid-container"></div>
        <div id="assetspToolBarContainer1" class="dlshouwen-grid-toolbar-container"></div>
      </div>
    </section>
  </div>
</aside>
<script>
    function findProAssets(){
        // 资产信息
        var assetsColumns = [{
            id: 'asset_id',
            title: '资产编号',
            width: 150,
            type: 'string',
            columnClass: 'text-center',
        }, {
            id: 'asset_style1',
            title: '资产类目',
            width: 80,
            type: 'string',
            columnClass: 'text-center',
        }, {
            id: 'asset_style2',
            title: '资产类别',
            width: 70,
            type: 'string',
            columnClass: 'text-center',
        },{
            id: 'asset_status',
            title: '目前状态',
            width: 50,
            type: 'string',
            columnClass: 'text-center',
            resolution: function (value, record) {
                var content = '';
                var status = record.asset_status;
                if (status==0){
                    content+="占用";
                }else if (status==1){
                    content+="维护";
                }else if (status==2){
                    content+="停用";
                }else if (status==3){
                    content+="报废";
                }else if (status==4){
                    content+="待入库";
                }else if (status==5){
                    content+="空闲";
                }
                return content;
            }
        }, {
            id: 'city_location',
            title: '放置地点',
            width: 75,
            type: 'string',
            columnClass: 'text-center',
        }, {
            id: 'user_name',
            title: '归属者',
            width: 75,
            type: 'string',
            columnClass: 'text-center',
        }, {
            id: 'pro_name',
            title: '归属项目',
            width: 100,
            type: 'string',
            columnClass: 'text-center',
        }, {
            id: 'asset_source',
            title: '来源方式',
            width: 50,
            type: 'string',
            columnClass: 'text-center',
        }, {
            id: 'asset_profile',
            title: '资产描述',
            type: 'string',
            columnClass: 'text-left',
        }];
        $CertusJsonAjax.dataInit("findAssetsList",{"code":3,"param":proId},assetsColumns,
            'assetspContainer1','assetspToolBarContainer1');
    }

</script>